﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Bai04
{
    class Program
    {
        static void Main(string[] args)
        {
         Rectangle  recta = new   Rectangle(3,4);
         Rectangle  rectb = new  Rectangle(5,6);
          recta=rectb;
         Console.WriteLine("rect a:"+ recta.area());
         Console.WriteLine("rect b:"+ rectb.area());
        }
    }
}
